package com.tiancheng.trade.settlement.vo.settlement.admin.res;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PaymentBillListResVO {

    private Long id;

    private Integer version;

    /**
     * 交易类型
     */
    private String transactionType;
    private String transactionTypeCn;
    /**
     * 支付订单号
     */
    private String paymentId;
    /**
     * 渠道支付订单号
     */
    private String flowId;
    /**
     * 商户编码
     */
    private String merchantCode;
    /**
     * 订单金额
     */
    private Integer orderAmount;
    /**
     * 优惠金额
     */
    private Integer discount;
    /**
     * 支付金额
     */
    private Integer payAmount;
    /**
     * 渠道费
     */
    private Integer serviceCharge;
    /**
     * 银行侧订单金额
     */
    private String bankOrderAmount;
    /**
     * 银行侧支付金额
     */
    private Integer bankPayAmount;
    /**
     * 银行侧优惠金额
     */
    private Integer bankDiscount;
    /**
     * 银行侧渠道费
     */
    private Integer bankServiceCharge;

    /**
     * 银行侧交易时间
     */
    private LocalDateTime bankPayTime;

    /**
     * 交易时间
     */
    private LocalDateTime payTime;

    /**
     * 退款时间
     */
    private LocalDateTime refundTime;

    /**
     * 对账时间
     */
    private LocalDateTime reconciliationTime;
    /**
     * 差异金额
     */
    public Integer diffAmount;
    /**
     * 备注差异原因
     */
    private String remark;
    /**
     * 对账结果：success：正常，abnormal：异常,notmatch:未匹配
     */
    private String reconciliationStatus;
}
